* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    max-width: 400px;
    width: 100%;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.tab-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tablink {
    flex: 1;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid transparent;
    background-color: #f8f8f8;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tablink.active {
    border-bottom: 2px solid #e60000; /* 红色主题色作为选中下划线 */
    color: #e60000;
}

.tablink:hover {
    background-color: #e60000;
    color: white;
}

.tabcontent {
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form input[type="submit"] {
    background-color: #e60000;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #cc0000;
}

p {
    text-align: center;
    margin-top: 15px;
}

p a {
    color: #e60000;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

p a:hover {
    color: #cc0000;
}